<?php

namespace App\Utils;

use App\Models\Admin\AdminMenu;
use App\Models\Admin\AdminNode;
use App\Models\Admin\AdminRole;
use App\Models\Admin\AdminUser;
use EasySwoole\Component\Di;

class DiModels
{

    public static function init()
    {
        Di::getInstance() -> set('adminUser', new AdminUser());
        Di::getInstance() -> set('adminNode', new AdminNode());
        Di::getInstance() -> set('adminMenu', new AdminMenu());
        Di::getInstance() -> set('adminRole', new AdminRole());

    }

}